package cn.wsalix.login.form;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.form.SimpleForm;

/**
 * @author jskyme
 * https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=9_1
 */
@XStreamAlias("xml")
@Data
@EqualsAndHashCode(callSuper = false)
public class WxPayForm {
	/*<xml><return_code><![CDATA[SUCCESS]]></return_code>
	<return_msg><![CDATA[OK]]></return_msg>
	<appid><![CDATA[wxd97bf9d76aba98b3]]></appid>
	<mch_id><![CDATA[1299960801]]></mch_id>
	<nonce_str><![CDATA[jhXAaV49Ox8SMFXC]]></nonce_str>
	<sign><![CDATA[6B63A34C66FF3C127A8CDFAC86617734]]></sign>
	<result_code><![CDATA[SUCCESS]]></result_code>
	<prepay_id><![CDATA[wx201603291436492dbf2e67c70779001763]]></prepay_id>
	<trade_type><![CDATA[APP]]></trade_type>
	</xml>*/
	private String return_code;
	private String return_msg;
	private String appid;
	private String mch_id;
	private String nonce_str;
	private String sign;
	private String result_code;
	private String prepay_id;
	private String trade_type;

}
